////inspirado en Bathaun Bozkurt tweet, con audio de http://webhamster.com/

p=ProxySpace.push(s.boot;)
p.fadeTime=4.5;

~ipa.play;

(
b=Buffer.read(s, "sounds/theHamsterDance.aiff");
b.query;
b.numFrames;

~ueuu={Limiter.ar(
	Splay.ar(
	AllpassC.ar(
	PitchShift.ar(
	LFPulse.ar([5, 2, 3]).cosh *
	PlayBuf.ar(2, 
	b.bufnum, 
	TRand.ar(0.27, 0.3, Impulse.ar(0.7)).round(0.2, 0.5),
	startPos:BufFrames.kr(b.bufnum + TDuty.ar(TRand.ar(0.002, 1, LFPulse.ar(0.4)))),
	loop:1), 
	1, 
	2,
	0,
	0.3),
	TRand.ar(1e-3, 1.2, SinOsc.ar(0.1)), 
	TRand.ar(1e-6, 0.1, LFPulse.ar([0.3, 2])), 
	2), 
	0.8), 
	0.7, 0.01)};
)
~ipa=~ueuu;

p.clear(3);

s.record;
s.stopRecording